package com.yunfei.mapper.aiiidb;

import com.yunfei.api.smrz.bo.AppFileBo;
import com.yunfei.api.smrz.bo.AppFileSimpleBo;
import com.yunfei.bo.hgtzz.HeGeTouZiZheRenZhengBo;
import com.yunfei.bo.smrz.IdCardType;
import com.yunfei.bo.smrz.ZhuanYeTouZiZheRenZhengBo;
import com.yunfei.bo.zytzz.ZhuanYeTouZiZheRenZhengResultBo;
import com.yunfei.mapper.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @Description: 专业投资者认证
* @Author: zhengyunfei
* @Date: 2019/1/8
* @time:11:03
*/
@Mapper
public interface ZhuanYeTouZiZheRenZhengMapper<T> extends BaseDao<T> {
	//获取证明类型
	List<T> getZhengMingType(Map<String, Object> paramMap);
	//查询列表
	List<T> getList(Map<String, Object> paramMap);

	void save(AppFileBo appFileBo);
	List<T> getFileList(Map<String, Object> queryMap);
	List<T> getCrmFileList(Map<String, Object> queryMap);
	HeGeTouZiZheRenZhengBo edite(Map<String, Object> queryMap);

	void deleteOldFile(Map<String, Object> deleteParam);

	String getId(Map<String, Object> queryMap);
	//判断专业投资者认证的时候，认证信息是否成功插入tqualifyinvestor_req@crmlink表中
	int isSave(ZhuanYeTouZiZheRenZhengBo zhuanYeTouZiZheRenZhengBo);
	//若xd的存储过程没有把专业投资者认证信息保存T到tqualifyinvestor_req@crmlink表中，则手动触发保存操作
	void saveZhuanYeRenZhengInfo(ZhuanYeTouZiZheRenZhengBo zhuanYeTouZiZheRenZhengBo);

	ZhuanYeTouZiZheRenZhengResultBo getRenZhengInfo(Map<String, Object> queryMap);

    String getcSubKeyId(Map<String, Object> querySubkeyIdMap);
}